package com.heitian.ssm.service;

import com.heitian.ssm.model.AdminEntity;
import com.heitian.ssm.model.UserEntity;

/**
 * Created with IntelliJ IDEA.
 * User: mishuai
 * Date: 2018-04-22
 * Time: 23:30
 * Des:
 */
public interface AdminLoginService {
    /**
     * 登录
     * @param name
     * @param passwd
     * @return
     */
    AdminEntity login(String name, String passwd);

    int register(AdminEntity userEntity);
}
